package com.xxcloud.service.folder;

import com.xxcloud.dao.dto.xxcloud.Folder;
import com.xxcloud.model.exception.folder.FolderException;
import com.xxcloud.model.web.ListResult;
import com.xxcloud.model.web.folder.dto.FolderDTO;
import com.xxcloud.model.web.folder.vo.FolderVO;

/**
 * Created by chenbingwen on 19/10/28.
 */
public interface IFolderService {

    ListResult<FolderVO> listFolderVO();

    boolean upsertFolder(long operatorId, FolderDTO dto) throws FolderException;

    Folder getFolderById(long id);
}
